﻿using InterfaceLiftLib.Models.Enums;
using InterfaceLiftLib.Service.Interfaces;

namespace InterfaceLiftLib.Converters.Enums
{
    class TagTypeConverter : IQueryStringEnumToStringConverter
    {
        public string GetStringValue(object enumValue)
        {
            var val = (TagType) enumValue;
            if (val == TagType.Unknown)
                return null;

            return val.ToString();            
        }
    }
}
